class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string    :login
      t.string    :email
      t.string    :crypted_password,          :limit => 40
      t.string    :salt,                      :limit => 40
      t.datetime  :created_at
      t.datetime  :updated_at
      t.string    :remember_token
      t.datetime  :remember_token_expires_at
      t.string    :first_name
      t.string    :last_name
      t.string    :street_address
      t.string    :city
      t.string    :state
      t.string    :zip
      t.string    :phone_number
      t.boolean   :is_admin
      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end
